package com.qf.dao;

import com.qf.domain.User;

import java.util.List;

public interface UserDao {

    User selectCountByUsername(String username);

    int insert(User user);

    User selectByUsernameAndPassword(String username, String password);

    User findByNameInRole(String username);

    List<User> findAlluser();

    void deleteById(int id);

    List<User> findUserByUsernameAndGender(String username, String gender);
}
